package com.linkai.io;

import java.util.ArrayList;
import java.util.Scanner;

/**
 * @Description: OJ在线编程常见输入输出练习
 *                https://www.nowcoder.com/test/question/93bc96f6d19f4795a4b893ee16e97654
 * @Author: 林凯
 * @Date: 2021/10/17 16:11
 */
public class T01 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> arrayList = new ArrayList<>();
        String str = null;
        while (sc.hasNextLine()) {
            str = sc.nextLine();
            String[] s = str.split(" ");
            int sum = Integer.valueOf(s[0]) + Integer.valueOf(s[1]);
            arrayList.add(sum);
        }

        for (int i = 0; i < arrayList.size(); i++) {
            System.out.println(arrayList.get(i));
        }
    }
}
